<h1><?php echo $this->escape($this->title); ?></h1>
<div><?php  if(!($this->filmy)){
                echo "Brak wyników";
                }?>
    <?php foreach($this->filmy as $x ) : ?>
    <?php $temp = $this->escape($x['title']); ?>
    <a href="<?php echo $this->url(array('controller'=>'zalogowani', 
             'action'=>$this->akcja, 'iduser'=>$this->iduser, 'nazwa'=>$temp));?>"><?php echo $this->escape($x['title']);?></a></br>
    <?php endforeach;?>   
</div>